package com.wangdao.wechatmall.bean.bo.admin;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import javax.annotation.security.DenyAll;
import java.math.BigDecimal;
import java.util.Date;

/**
 * @author ShuiYi
 * @time 2021-07-09 18:41
 */
@Data
public class CouponDeleteBO {
    private Integer id;
    private String name;
    private String desc;
    private String tag;
    private Integer total;
    private BigDecimal discount;
    private BigDecimal min;
    private Short limit;
    private Short type;
    private Short status;
    private Short goodsType;
    private Object[] goodsValue;
    private Short timeType;
    private Short days;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date addTime;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date updateTime;
    private Boolean deleted;
}
